package de.fuberlin.inf.alp2.ue10.a4;
import java.util.Random;
public class RandomInc implements Incrementable {
	private long counter;
	private Random rand;
	public RandomInc(){
		counter = rand.nextLong();
		rand = new Random();
	}
	@Override
	public long getValue() {
		return counter;
	}
	@Override
	public void increment() {
		counter += rand.nextLong();
	}
}